﻿namespace Tuxedo.Compile
{
	internal class AssignmentExpression : Expression
	{
		public Expression Left { get; private set; }
		public Expression Right { get; private set; }
		public string Op { get; private set; }

		public AssignmentExpression(Expression left, Expression right, string op)
		{
			// TODO: verify left is an assignable type
			this.Left = left;
			this.Right = right;
			this.Op = op;
		}
	}
}
